package com.lago.construnctor;

/**
 * @author yuhe
 * @version 1.0
 * @date 2020/11/19 10:21
 */
public class ComputerBuilder {
    private Computer computer = new Computer();

    public void installDisplayer(String displayer){
        computer.setDisplayer(displayer);
    }

    public void installMMainUnit(String mainUnit){
        computer.setManUnit(mainUnit);
    }
    public void installmouse(String mouse){
        computer.setMouse(mouse);
    }
    public void installkeyboard(String keyboard){
        computer.setKeyboard(keyboard);
    }

    public Computer getComputer(){
        return computer;
    }
}
